package chap6.string;

public class String_TEST {

	public static void main(String s[]){
		
		String str = "vivek";
		str.concat(" shah");
		
		String strArr[] = new String[3]; 
		strArr[0] = "a";
		//{"a", "b"};
		System.out.println(strArr.length);
		System.out.println(str.concat(" shah"));
		System.out.println(str.length());
		
		String atr1 = " vivek shah ";
		System.out.println(atr1.trim()+str);
		System.out.println(atr1+str);
		
		StringBuilder b = new StringBuilder();
		System.out.println(b.hashCode());;
		System.out.println(str.charAt(2));
	}
}
